package dao;

import entity.User;

import java.util.List;

public interface UserDao {
    boolean insertUser(User user);

    boolean deleteUserById(Integer id);

    boolean updateUserById(Integer id,User user);

    User selectUserById(Integer id);

    User selectUserByUserName(String userName);

    List<User> selectAllUser();
}


